package com.paginasenlanube.service;

import java.awt.image.BufferedImage;
import java.io.IOException;

import java.util.List;


import org.springframework.web.multipart.MultipartFile;

import com.google.gson.JsonArray;

import com.paginasenlanube.model.Image;
import com.paginasenlanube.model.Page;
import com.paginasenlanube.model.SocialFeed;

import com.paginasenlanube.model.Website;
import com.paginasenlanube.utils.UserException;





public interface SiteConfigService {
	
	public String addPage(String json);
	
	public void updatePage(String json);
	
	public void updateDesignPalette(String palette);
	
	public void updateDesignTemplate(String template);
	
	public void updateDesignTheme(String theme);
	
	public void updateDesignThemeType(String bgtype);
	
	public List<Page> getPages(long websiteId);

	/*public Website getWebsiteById(long websiteId);*/
	
	public List<Website> getWebsitesByUserId(long userId);
	
	//starts session model objects
	public void getModel(long websiteId);
	

	
	//@Cacheable("configData")
	//public Config getDesignData();
	

/*
	public String saveDesignImage(JsonArray json,Image image);

	public String saveHeaderImage(JsonArray json, Image image);*/

	public void updateHeader(String name);

	

	public void updateSocial(SocialFeed socialFeed);



	

}
